

<style>
input {
    -webkit-appearance: textfield;
    background-color: white;
    -webkit-rtl-ordering: logical;
    -webkit-user-select: text;
    cursor: auto;
    padding: 1px;
    border: 0px inset;
</style>
<?php
foreach($info["content"]   as  $key=>$row) {

	echo "<fieldset> <legend>".$key."</legend><br>";
	foreach($row  as $key=>$val) {

		echo $key.":"."<input type='text' value='".$val."' >&emsp;&emsp;";
	}
	echo "</fieldset><p>";
}

?>

<a href="javascript:void(0)" class="easyui-linkbutton c9" style="width:100%" onclick="add_info(<?php echo $id ?>)">编辑</a>

<script>
function add_info(id){
	var url  = "<?php echo site_url('admin/archive/add_info') ?>/"+id;
     parent.layer.open({
        type: 2,
        title: '添加',
        maxmin: true,
        shadeClose: false,  // 点击空白页不关闭窗口
        area : ['900px' , '600px'],
        shade: [0.2,'#fff'],
        content: url
    });

}
</script>